<script setup lang="ts">
import { ref } from 'vue';
import myInput from './views/myInput.vue'

let info =ref()

function showInfo(){
    console.log(info)
  console.log(info.value)
  console.log(info.value.userName)
  console.log(info.value.userSalary)
}


</script>

<template>
  <div>

      <myInput ref="info"></myInput>
      <button @click="showInfo">信息</button>

  </div>
  
</template>

<style scoped>

</style>